﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using DTO;
using DAO;

namespace BUS
{
    public class HoSoBenhAn_BUS
    {
        public static Boolean ThemHoSoBenhAn(HoSoBenhAn_DTO hsba_dto)
        {
            try
            {
                return HoSoBenhAn_DAO.ThemHoSoBenhAn(hsba_dto);
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }

        public static Boolean XoaHoSoBenhAn(string Ma)
        {
            return HoSoBenhAn_DAO.XoaHoSoBenhAN(Ma);
        }

        public static Boolean CapNhatHSBA(HoSoBenhAn_DTO HSBA_DTO)
        {
            return HoSoBenhAn_DAO.CapNhatHSBA(HSBA_DTO);
        }

        public static DataTable DanhSachHSBA(string ma)
        {
            return  HoSoBenhAn_DAO.DanhSachHoSoBA(ma);
        }

        public static DataTable DanhSachHSBATheoMa(string ma)
        {
            return HoSoBenhAn_DAO.DanhSachHSBATheoMa(ma);
        }
    }
}
